﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities;

namespace Factory.MasterData.Vendors
{
    /// <summary>
    /// 供应商表
    /// </summary>
    public class Vendor : Entity<int>
    {
        /// <summary>
        /// 供应商编号
        /// </summary>
        [StringLength(50)]
        public string Code {  get; set; }
        /// <summary>
        /// 供应商名称
        /// </summary>
        [StringLength(50)]
        public string Name {  get; set; }
        /// <summary>
        /// 供应商商称
        /// </summary>
        [StringLength(50)]
        public string? AName {  get; set; }
        /// <summary>
        /// 供应商英文名称
        /// </summary>
        [StringLength(50)]
        public string? EName {  get; set; }
        /// <summary>
        /// 供应商简介
        /// </summary>
        [StringLength(100)]
        public string? Profile {  get; set; }
        /// <summary>
        /// 供应商地址
        /// </summary>
        [StringLength(100)]
        public string? Address {  get; set; }
        /// <summary>
        /// 供应商等级
        /// </summary>
        [StringLength(50)]
        public string? Grade {  get; set; }
        /// <summary>
        /// 供应商评分
        /// </summary>
        public int? Score {  get; set; }
        /// <summary>
        /// 供应商网址
        /// </summary>
        [StringLength(50)]
        public string? URL {  get; set; }
        /// <summary>
        /// 供应商邮箱地址
        /// </summary>
        [StringLength(50)]
        public string? EmailAddress {  get; set; }
        /// <summary>
        /// 供应商电话
        /// </summary>
        [StringLength(50)]
        public string? VendorPhone {  get; set; }
        /// <summary>
        /// 联系人
        /// </summary>
        [StringLength(50)]
        public string? Contac {  get; set; }
        /// <summary>
        /// 联系人电话
        /// </summary>
        [StringLength(50)]
        public string? ContactPhone {  get; set; }
        /// <summary>
        /// 联系人邮箱
        /// </summary>
        [StringLength(50)]
        public string? ContactEmail {  get; set; }
        /// <summary>
        /// 统一社会信用代码
        /// </summary>
        [StringLength(50)]
        public string? USCC {  get; set; }
        /// <summary>
        /// 是否启用
        /// </summary>
        public int IsNo {  get; set; }
        /// <summary>
        /// 供应商LOGO地址
        /// </summary>
        [StringLength(100)]
        public string? LOGOAddress {  get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        [StringLength(200)]
        public string? Remark {  get; set; }

    }
}
